package org.tgcloud.group.repository;

import org.apache.ibatis.annotations.Param;
import org.tgcloud.group.entity.MjOrderSendMsg;

import java.util.List;

public interface MjOrderSendMsgMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MjOrderSendMsg record);

    int insertSelective(MjOrderSendMsg record);

    MjOrderSendMsg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MjOrderSendMsg record);

    int updateByPrimaryKey(MjOrderSendMsg record);

    int insertBatch(@Param("msgs") List<MjOrderSendMsg> msgs);

    List<MjOrderSendMsg> selectListByOrderId(@Param("orderId") Integer id, @Param("msgType") Short msgType);
}
